/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package view;

import java.awt.Image;
import java.net.URL;
import javax.swing.ImageIcon;

/**
 *
 * @author Zenit
 */
public class Iconifier_1 {

    private URL imgURL;
    private Image image;

    private Iconifier_1() {
        imgURL = getClass().getResource("logo.jpg");
        image = new ImageIcon(imgURL).getImage();
    }

    protected Image getIcon() {
        return image;

    }

    public static Iconifier_1 getInstance() {
        return IconifierHolder.INSTANCE;
    }

    private static class IconifierHolder {

        private static final Iconifier_1 INSTANCE = new Iconifier_1();
    }
}
